package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

public interface IEmployeeService extends IService<Employee> {
    ResultInfo login(String username,String password);

    Page<Employee> findByPage(Integer pageNum, Integer pageSize, String name);

    void saveEmployee(Employee employee);

    Employee findById(Long id);

    void updateEmployee(Employee employee);
}
